package com.bcinfo.iccard.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bcinfo.iccard.model.EndComboCardEarningsToMerchantDetail;

public interface EndComboCardEarningsToMerchantDetailMapper
{
    int deleteByPrimaryKey(Long endCombocardEarningsDetailId);

    int insert(EndComboCardEarningsToMerchantDetail record);

    int insertSelective(EndComboCardEarningsToMerchantDetail record);

    EndComboCardEarningsToMerchantDetail selectByPrimaryKey(Long endCombocardEarningsDetailId);

    int updateByPrimaryKeySelective(EndComboCardEarningsToMerchantDetail record);

    int updateByPrimaryKey(EndComboCardEarningsToMerchantDetail record);

    List<EndComboCardEarningsToMerchantDetail> selectByCard(@Param("cardId") long cardId, @Param("firstIndex") int i,
            @Param("maxRows") int pageSize);

    int getLastSelectTotalNum();

    int selectCountByCard(long parseLong);

    EndComboCardEarningsToMerchantDetail selectSumByCard(long parseLong);

}